/**距离考试倒计时**/
var getTime = '2020,12,1';
var testTime = new Date(getTime);
var time = testTime - new Date();
time = Math.ceil(time/1000/3600/24);
document.getElementsByClassName('countdown-ico')[0].innerHTML = time;

/**关闭消息提示框**/
document.getElementsByClassName('close-message')[0].onclick = function(){
	document.getElementsByClassName('my-message')[0].style.display = 'none';
}